<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%@ taglib uri="/tags/core" prefix="c"%>
<%@ taglib uri="/tags/fmt" prefix="fmt"%>

<html:form action="/purchaseInstructionDetailAttachmentAdd.do" method="post" enctype="multipart/form-data" >
	<table align="center" width="40%" cellpadding="2" cellspacing="1" border="0" bgcolor="#CCCCC0">

		<tr>
			<td class="etiqueta"> <bean:message key="label.instructionattachment.description"/> </td>
			<td class="etiqueta_campo" style="text-align: left;"> <html:text property="view.description" maxlength="255" onfocus="this.select();"  /> </td>			 
		</tr>
		<tr>
			<td class="etiqueta"> <bean:message key="label.instructionattachment.save"/> </td>
			<td class="etiqueta_campo" style="text-align: left;"><html:file property="view.file" /> </td>			 
		</tr>
			
		<tr>
			<td colspan="2" align="center" class="columnadatoPar">
				<html:submit styleClass="boton"><bean:message key="label.common.save"/></html:submit>

				&nbsp;<html:button styleClass="boton" property="backButton" onclick="location.href='purchaseInstructionDetailAttachment.do'"><bean:message key="label.common.cancel"/></html:button>								
			</td>
		</tr>		
	</table>
</html:form>